/*
 * Copyright (C) 2023 xuexiangjys(xuexiangjys@163.com)
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *       http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 */

package com.xuexiang.templateproject.bean;

//import anet.channel.strategy.dispatch.DispatchConstants;
import java.util.List;
import kotlin.Metadata;
import kotlin.jvm.internal.Intrinsics;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;

public final class User {
    @NotNull
    private final Object headImg;
    @NotNull
    private final List<JcdsUserChilds> jcdsUserChildList;
    @NotNull
    private final String jiujiuNo;
    @NotNull
    private final Object loginSessionId;
    @NotNull
    private final Object userRole;
    private final boolean vip;

    public User(@NotNull Object headImg, @NotNull List<JcdsUserChilds> jcdsUserChildList, @NotNull String jiujiuNo, @NotNull Object loginSessionId, @NotNull Object userRole, boolean z) {
        Intrinsics.checkNotNullParameter(headImg, "headImg");
        Intrinsics.checkNotNullParameter(jcdsUserChildList, "jcdsUserChildList");
        Intrinsics.checkNotNullParameter(jiujiuNo, "jiujiuNo");
        Intrinsics.checkNotNullParameter(loginSessionId, "loginSessionId");
        Intrinsics.checkNotNullParameter(userRole, "userRole");
        this.headImg = headImg;
        this.jcdsUserChildList = jcdsUserChildList;
        this.jiujiuNo = jiujiuNo;
        this.loginSessionId = loginSessionId;
        this.userRole = userRole;
        this.vip = z;
    }

    /* JADX WARN: Multi-variable type inference failed */
    public static /* synthetic */ User copy$default(User user, Object obj, List list, String str, Object obj2, Object obj3, boolean z, int i2, Object obj4) {
        if ((i2 & 1) != 0) {
            obj = user.headImg;
        }
        if ((i2 & 2) != 0) {
            list = user.jcdsUserChildList;
        }
        if ((i2 & 4) != 0) {
            str = user.jiujiuNo;
        }
        if ((i2 & 8) != 0) {
            obj2 = user.loginSessionId;
        }
        if ((i2 & 16) != 0) {
            obj3 = user.userRole;
        }
        if ((i2 & 32) != 0) {
            z = user.vip;
        }
        return user.copy(obj, list, str, obj2, obj3, z);
    }

    @NotNull
    public final Object component1() {
        return this.headImg;
    }

    @NotNull
    public final List<JcdsUserChilds> component2() {
        return this.jcdsUserChildList;
    }

    @NotNull
    public final String component3() {
        return this.jiujiuNo;
    }

    @NotNull
    public final Object component4() {
        return this.loginSessionId;
    }

    @NotNull
    public final Object component5() {
        return this.userRole;
    }

    public final boolean component6() {
        return this.vip;
    }

    @NotNull
    public final User copy(@NotNull Object headImg, @NotNull List<JcdsUserChilds> jcdsUserChildList, @NotNull String jiujiuNo, @NotNull Object loginSessionId, @NotNull Object userRole, boolean z) {
        Intrinsics.checkNotNullParameter(headImg, "headImg");
        Intrinsics.checkNotNullParameter(jcdsUserChildList, "jcdsUserChildList");
        Intrinsics.checkNotNullParameter(jiujiuNo, "jiujiuNo");
        Intrinsics.checkNotNullParameter(loginSessionId, "loginSessionId");
        Intrinsics.checkNotNullParameter(userRole, "userRole");
        return new User(headImg, jcdsUserChildList, jiujiuNo, loginSessionId, userRole, z);
    }

    public boolean equals(@Nullable Object obj) {
        if (this == obj) {
            return true;
        }
        if (!(obj instanceof User)) {
            return false;
        }
        User user = (User) obj;
        return Intrinsics.areEqual(this.headImg, user.headImg) && Intrinsics.areEqual(this.jcdsUserChildList, user.jcdsUserChildList) && Intrinsics.areEqual(this.jiujiuNo, user.jiujiuNo) && Intrinsics.areEqual(this.loginSessionId, user.loginSessionId) && Intrinsics.areEqual(this.userRole, user.userRole) && this.vip == user.vip;
    }

    @NotNull
    public final Object getHeadImg() {
        return this.headImg;
    }

    @NotNull
    public final List<JcdsUserChilds> getJcdsUserChildList() {
        return this.jcdsUserChildList;
    }

    @NotNull
    public final String getJiujiuNo() {
        return this.jiujiuNo;
    }

    @NotNull
    public final Object getLoginSessionId() {
        return this.loginSessionId;
    }

    @NotNull
    public final Object getUserRole() {
        return this.userRole;
    }

    public final boolean getVip() {
        return this.vip;
    }

    public int hashCode() {
        int hashCode = ((((((((this.headImg.hashCode() * 31) + this.jcdsUserChildList.hashCode()) * 31) + this.jiujiuNo.hashCode()) * 31) + this.loginSessionId.hashCode()) * 31) + this.userRole.hashCode()) * 31;
        boolean z = this.vip;
        if (z) {
            z = true;
        }
        int i2 = z ? 1 : 0;
        int i3 = z ? 1 : 0;
        int i4 = z ? 1 : 0;
        return hashCode + i2;
    }

    @NotNull
    public String toString() {
        return "User(headImg=" + this.headImg + ", jcdsUserChildList=" + this.jcdsUserChildList + ", jiujiuNo=" + this.jiujiuNo + ", loginSessionId=" + this.loginSessionId + ", userRole=" + this.userRole + ", vip=" + this.vip + ')';
    }
}